<!DOCTYPE HTML>
<html>

<head>
    <title>退款详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../../../assets/css/dpl-min.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/bui-min.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/page-min.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/jx-style.css" rel="stylesheet" type="text/css"/>
    <link href="../../../assets/css/prettify.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
    <div class="detail-page span24">
        <div class="detail-page-title">
            <h4>退款详情
                <button type="button" id="refund-list-btn" class="pull-right jx-btn">返回</button>
            </h4>
        </div>
        <div class="detail-section">
            <div class="row detail-row">
                <div class="span24">
                    <table id="" class="table table-header table-condensed table-bordered">
                        <thead>
                        <td colspan="4">退款详情</td>
                        </thead>
                        <tr>
                            <td width="150">
                                <label class="pull-right">售后订单编号：</label>
                            </td>
                            <td>
                                6080240000608
                            </td>
                            <td width="150">
                                <label class="pull-right">退款状态：</label>
                            </td>
                            <td>
                                待退款
                                <button type="button" id=" " class="ml-10 pull-right button button-primary">确认退款
                                </button>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label class="pull-right">售后类型：</label>
                            </td>
                            <td>
                                退货退款
                            </td>
                            <td>
                                <label class="pull-right">订单状态：
                                </label>
                            </td>
                            <td>
                                待发货
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">申请时间：</label>
                            </td>
                            <td colspan="3">2038-01-19 11:14:00
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">申请通过时间：</label>
                            </td>
                            <td colspan="3">2038-01-19 11:14:00
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">售后完成时间：</label>
                            </td>
                            <td colspan="3">2038-01-19 11:14:00
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">售后备注：</label>
                            </td>
                            <td colspan="3">
                            </td>
                        </tr>
                    </table>
                    <table id="" class="table table-header table-condensed table-bordered">
                        <thead>
                        <td colspan="2">
                            退款信息
                        </td>
                        </thead>
                        <tr>
                            <td width="150">
                                <label class="pull-right">退款金额：</label>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    <table id="" class="table table-header table-condensed table-bordered">
                        <thead>
                        <td colspan="2">
                            付款信息
                        </td>
                        </thead>
                        <tr>
                            <td width="150">
                                <label class="pull-right">支付类型：</label>
                            </td>
                            <td>
                                微信支付
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">支付通道：</label>
                            </td>
                            <td>
                                网页
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">交易号：</label>
                            </td>
                            <td>
                                471757615717401750715
                            </td>
                        </tr>
                    </table>
                    <table id="" class="table table-header table-condensed table-bordered">
                        <thead>
                        <td colspan="4">
                            售后用户信息
                        </td>
                        </thead>
                        <tr>
                            <td width="150">
                                <label class="pull-right">下单帐号：</label>
                            </td>
                            <td>
                                15900684377
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">下单店铺名称：</label>
                            </td>
                            <td>
                                Nike官方旗舰店
                            </td>
                        </tr>
                        <tr>
                            <td width="150">
                                <label class="pull-right">商品级别：</label>
                            </td>
                            <td>试用版</td>
                        </tr>
                    </table>
                    <!-- 表格 start-->
                    <div>
                        <div class="grid-header"> 售后商品</div>
                        <div id="grid"></div>
                    </div>
                    <!-- 表格 end-->
                    <div class="grid-header">
                        操作信息
                    </div>
                    <table id="" class="table table-header table-condensed table-bordered">
                        <thead>
                        <td>
                            操作帐号
                        </td>
                        <td>
                            操作内容
                        </td>
                        <td>
                            操作时间
                        </td>
                        </thead>
                        <tr>
                            <td>
                                RL001
                            </td>
                            <td>
                                ［商品信息］删除
                            </td>
                            <td>
                                2016-10-11 14:22:41
                            </td>

                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 初始隐藏 passAuditDialog内容 -->
<!--<div id="passAudit" class="hide">
    <form id="passAuditform" class="form-horizontal">
        <div class="row">
            <div class="control-group span8 offset2">
                <label class="mr-10 control-label">
                    商品金额：</label>
                <div style=" line-height: 30px;">
                    395.00
                </div>
            </div>
        </div>
        <div class="row">
            <div class="control-group span8 offset2">
                <label class="control-label">
                    可退金额：</label>
                <div class="controls">
                    <input type="text" data-rules="{required:true,number:true}" class="input-normal control-text">
                </div>
            </div>
            <span class="grey offset5"> (注：可退金额不得高于商品金额)</span>
        </div>
    </form>
</div>-->
<!-- 初始隐藏 remakesDialog内容 -->
<!--<div id="remarks" class="hide">
    <form class="form-horizontal">
        <div id="remarksform" class="row">
            <div class="control-group span12">
                <label class="control-label">备注：</label>
                <div class="control-row4 ">
                    <textarea class="input-large" type="text"></textarea>
                </div>
            </div>
        </div>
    </form>
</div>-->
<!-- 初始隐藏 revokeDialog内容 -->
<!--<div id="revoke" class="hide">
    <form class="form-horizontal">
        <div id="revokeform" class="row">
            <div class="control-group span12">
                <label class="control-label">留言：</label>
                <div class="control-row4 ">
                    <textarea class="input-large" type="text"></textarea>
                </div>
            </div>
        </div>
    </form>
</div>-->
<!-- 初始隐藏 salesLogDialog内容 -->
<!--<div id="salesLog" class="hide">
    <form id="salesLogform" class="form-horizontal">
        <div class="row">
            <div class="control-group span12 offset2">
                <label class="control-label">
                    自定义订单号： </label>
                <div class="controls">
                    <input type="text" data-rules="{required:true,number:true}" class="input-normal control-text">
                </div>
            </div>
        </div>
    </form>
</div>-->
<script type="text/javascript" src="../../../assets/js/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="../../../assets/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../assets/js/bui-min.js"></script>
<script type="text/javascript" src="../../../assets/js/config-min.js"></script>
<script type="text/javascript">
    BUI.use('common/page');
</script>
<script type="text/javascript">
    BUI.use(['bui/grid', 'bui/data', 'common/search', 'bui/overlay', 'bui/form'], function (Grid, Data, Search, Overlay, Form) {
        var Grid = Grid,
            Store = Data.Store,
            columns = [{
                title: '商品货号',
                dataIndex: 'a',
                elCls: 'center', //居中
                width: 100
            }, {
                title: '商品等级',
                dataIndex: 'b',
                elCls: 'center', //居中
                width: 100
            }, {
                title: '商品系列',
                elCls: 'center',
                dataIndex: 'c',
                width: 100
            }, {
                title: '商品品牌',
                elCls: 'center',
                dataIndex: 'd',
                width: 200
            }, {
                title: '品类',
                elCls: 'center',
                dataIndex: 'e',
                width: 80
            }, {
                title: '项目',
                elCls: 'center',
                dataIndex: 'f',
                width: 100
            }, {
                title: '商品名称',
                elCls: 'center',
                dataIndex: 'g',
                width: 100
            }, {
                title: '颜色',
                elCls: 'center',
                dataIndex: 'h',
                width: 100
            }, {
                title: '规格',
                elCls: 'center',
                dataIndex: 'i',
                width: 100
            }, {

                title: '条形码',
                elCls: 'center',
                dataIndex: 'j',
                width: 100
            }, {

                title: '数量',
                elCls: 'center',
                dataIndex: 'k',
                width: 100
            },{

                title: '售后数量',
                elCls: 'center',
                dataIndex: 'l',
                width: 100
            }, {

                title: '供应价',
                elCls: 'center',
                dataIndex: 'm',
                width: 100
            },{

                title: '折扣规则',
                elCls: 'center',
                dataIndex: 'n',
                width: 100
            },{

                title: '会员折扣价',
                elCls: 'center',
                dataIndex: 'o',
                width: 100
            },{

                title: '均摊销售价',
                elCls: 'center',
                dataIndex: 'p',
                width: 100
            }],
            data = [{
                id: 1,
                a: 'CB054',
                b: 'B',
                c: '跑步系列',
                d: 'Nike',
                e: '鞋子',
                f: '跑步鞋',
                g: 'alphabounce',
                h: '统色',
                i: '7.5',
                j: '4.05728E+12',
                k: '1',
                l: '1',
                m: '899',
                n: '参与',
                o: '689',
                p: '689'
            }];

        //初始化数据
        var store = new Store({ //初始化数据
                data: data,
                autoLoad: true, //自动加载数据
                pageSize: 2 // 配置分页数目
            }),
            grid = new Grid.Grid({
                render: '#grid',
                elCls: 'small-bui-grid-table mb-20',
                columns: columns,
                loadMask: true, //加载数据时显示屏蔽层
                bbar: {
                    elCls: 'span24 offset7',
                    items: [{
                        // items:工具栏的项， 可以是按钮(bar-item-button)、 文本(bar-item-text)、 默认(bar-item)、 分隔符(bar-item-separator)以及自定义项 
                        xclass: 'bar-item-text',
                        text: '<div style=" ">均摊销售价 ＝ 商品会员折扣价 ＊ (订单人工减免 ／ 折后商品总额)</div>'
                    }]

                },
                store: store
            });
        grid.render();

        $("#refund-list-btn").click(function () {
            top.topManager.closePage();
        });


    });
</script>

<body>

</html>
